package fun.liuyu2783.dtc.bff.feign;

import fun.liuyu2783.dtc.common.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "dtc-marketing", url = "127.0.0.1:7091")
public interface MarketFeign {


    @RequestMapping("coupon/add/{tradeId}")
    Response add(@PathVariable("tradeId") String tradeId);
}
